{include file='imobile_header.tpl'}

<div id="topbar">
	<div id="leftnav">
		{if $user->user_exists}
			<a href="user_home.php"><img alt="home" src="./include/imobile/iwebkit/images/home.png" /></a>
		{else}
		  <a href="login.php">{lang_print id=11340010}</a>
		{/if}
	</div> 
	<div id="title"> 
		{lang_print id=11340011}
	</div>
	<div id="rightbutton"><a href="home.php">{lang_print id=11340012}</a></div>
</div>


{include file='imobile_embed_status_form.tpl'}

<div id="contentlist">
	<div class="title">{lang_print id=11340013}</div> 
	<ul class="feed">
		  {* SHOW PUBLIC VERSION OF ACTIVITY LIST *}  
		  {if $actions|@count > 0}
		      {section name=actions_loop loop=$actions max=10}
		        {assign var='action_date' value=$datetime->time_since($actions[actions_loop].action_date)}
		        <li class="feed">
		           <img src='./images/icons/{$actions[actions_loop].action_icon}' border='0' class='icon' alt='' />
		           <div class="action">
		            <span>
		            {lang_sprintf assign=action_text id=$actions[actions_loop].action_text args=$actions[actions_loop].action_vars}
            	    {$action_text|replace:"[media]":$action_media|choptext:50:"<br>"}
            	    </span>
            	    <span class="date">{lang_sprintf id=$action_date[0] 1=$action_date[1]}</span>
            	   </div>
		        </li>
		      {/section}
		  {/if}
	</ul>
</div>

{include file='imobile_footer.tpl'}
